<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Title</title>
    <#include "/header.html">

    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <script src="${request.contextPath}/statics/plugins/layui/layui.all.js"></script>

</head>
<body>

<div class="layui-container " style="width: 100%;" id="indexModel">
    <form class="layui-form" action="">
        <div class="layui-row" style="margin-top: 10px;">
            <div class="layui-col-md3 ">
                <input type="text" id="typeName"  required  placeholder="请输入类型名称" autocomplete="off" class="form-control">
            </div>
            <div class="layui-col-md3 " style="padding-left: 20px;">
                <input type="text" id="typeTitle" required  placeholder="请输入邮件标题" autocomplete="off" class="form-control">
            </div>
            <div class="layui-col-md3 " style="padding-left: 20px;">
                <a class="btn btn-default" id="search">查询</a>
                <a class="btn btn-primary" style="margin-left: 10px;" id="btnadd"><i class="fa fa-plus"></i>&nbsp;新增</a>
            </div>
        </div>
</form>
        <div class="layui-row table-striped" style="margin-top: 10px;">
            <table id="bootstrap-table" data-mobile-responsive="true"></table>
        </div>

</div>

<div class="layui-container" style="width: 100%;display: none;margin-top: 20px;" id="addModel">
    <form class="layui-form" action="">
        <div class="layui-row" >
            <div class="layui-col-md12" >
                <div class="layui-form-item" style="width: 500px;">
                    <label class="layui-form-label" style="width: 100px;">类型名称</label>
                    <div class="layui-input-block" >
                        <select  lay-filter="business"  id="select"  lay-verify="type" name="business"  >

                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item" style="width: 500px;">
                    <label class="layui-form-label" style="width: 100px;">发件人名称</label>
                    <div class="layui-input-block" >
                        <input type="text" required id="name"  placeholder="请输入发件人名称" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item" style="width: 500px;">
                    <label class="layui-form-label" style="width: 100px;">邮件标题</label>
                    <div class="layui-input-block" >
                        <input type="text"  required  id="title" placeholder="请输入邮件标题" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item" style="width: 500px;">
                    <label class="layui-form-label" style="width: 100px;">邮件内容</label>
                    <div class="layui-input-block" >
                        <input type="text"  required id="content"  placeholder="请输入邮件内容" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    <div class="layui-row" >
        <div class="layui-col-md6" style="padding-left: 20px;">
            <div class="layui-btn" id="btnconfirm">确定</div>
            <div class="layui-btn layui-btn-warm" id="btnreturn">返回</div>
        </div>
    </div>
    </form>
</div>

<script src="${request.contextPath}/statics/js/alarmTemplate.js"></script>
</body>
</html>